
package jfireeagle.examples;

import jfireeagle.*;
import jfireeagle.examples.swing.ClientFrame;

public class DemoApp
{

	static
	{
		System.getProperties().put("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
		System.getProperties().put("org.apache.commons.logging.simplelog.defaultlog", "trace");
	}

	public static void main(String[] args)
	{
		
		String propertiesFile = "src/test.properties";
		
		FireEagleClient client = new FireEagleClient();
		
		ClientSettings settings = Util.loadSettings(propertiesFile);
		
		client.setClientSettings(settings);
		
		ClientFrame f = new ClientFrame(client);
		
		f.setVisible(true);
		
		Util.saveSettings(settings, propertiesFile);
	}
}
